home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
NextAnswers
/
UniqueKey_oracle
/
UniqueKey.h
< prev
next >
Wrap
Text File
|
1994-06-13
|
456b
|
20 lines
#import <eoaccess/eoaccess.h>
@interface UniqueKey:NSObject
{
unsigned int keyCount;
int nextKey;
int maxKey;
EODatabaseContext *dbContext;
EODatabaseChannel *dbChannel;
EOEntity *uniqueKeyEntity; // where maxKey for each entity is stored
EOGenericRecord *tableMax;
}
+ setConnectionDictionary:(NSDictionary *)connectionDictionary;
- initWithEntity:(EOEntity*)entity count:(unsigned int)keyCount;
- (int) nextKey;
@end